package com.skins;

import android.app.Activity;
import android.content.Intent;
import android.graphics.drawable.AnimationDrawable;
import android.graphics.drawable.BitmapDrawable;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;

public class Main extends Activity {
	/** Called when the activity is first created. */
	AnimationDrawable mframeAnimation; 
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		
		
        ImageView img = (ImageView)findViewById(R.id.touch);
        
        img.setOnClickListener(new View.OnClickListener() {
			
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent in = new Intent(Main.this, StartActivity.class);	
				startActivity(in);
			}
		});
        LinearLayout main = (LinearLayout)findViewById(R.id.main_start);
    
		main.setOnClickListener(new View.OnClickListener() {
			
			public void onClick(View v) {
				// TODO Auto-generated method stub
			Intent in = new Intent(Main.this, StartActivity.class);	
			startActivity(in);
			}
		});
		
	}

	
}


